@echo off
set param=%*
set CUR_WS_DIR=%cd%
set SCRIPT_DIR=%~dp0
echo "SCRIPT_DIR=%SCRIPT_DIR%"

set PY_MAIN_DIR=%SCRIPT_DIR%\..\az_mould
set PY_MAIN_PATH=%SCRIPT_DIR%\..\az_mould\gen_hq_file.py

python %PY_MAIN_PATH% %param%

if %errorlevel% EQU 0 (
    echo ===== successful =====
) else (
    echo ===== failed =====
)
